package com.xc.hotelmgr.datahandlermt.service.mybatis.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xc.hotelmgr.datahandlermt.mapper.OpTaskDetailMapper;
import com.xc.hotelmgr.datahandlermt.pojo.mybatis.OpTaskDetail;
import com.xc.hotelmgr.datahandlermt.service.mybatis.OpTaskDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OpTaskDetailServiceImpl extends ServiceImpl<OpTaskDetailMapper, OpTaskDetail> implements OpTaskDetailService {

    @Autowired
    private OpTaskDetailMapper opTaskDetailMapper;

    @Override
    public List<OpTaskDetail> listAll() {
        return null;
    }

    @Override
    public OpTaskDetail getById(Long id) {
        return null;
    }

    @Override
    public int insert(OpTaskDetail opTaskDetail) {
        return 0;
    }

    @Override
    public int insertIgnoreNull(OpTaskDetail opTaskDetail) {
        return opTaskDetailMapper.insertIgnoreNull(opTaskDetail);
    }

    @Override
    public int update(OpTaskDetail opTaskDetail) {
        return 0;
    }

    @Override
    public int updateIgnoreNull(OpTaskDetail opTaskDetail) {
        return opTaskDetailMapper.updateIgnoreNull(opTaskDetail);
    }

    @Override
    public int delete(OpTaskDetail opTaskDetail) {
        return 0;
    }

    @Override
    public List<OpTaskDetail> listAllTaskId(Long taskId){
        return opTaskDetailMapper.listAllTaskId(taskId);
    }

    @Override
    public  int deleteAll(Long taskId){
        return opTaskDetailMapper.deleteAll(taskId);
    }
}
